package net.wwang.blog.service.impl;

import net.wwang.blog.util.EmailSender;
import org.springframework.scheduling.annotation.Async;
import org.springframework.stereotype.Service;

/**
 * 异步串口
 *
 * @author WangWei
 * @date 2020/8/14
 */
@Service
public class TaskService {
	@Async
	public void sendVrifyCode(String verifyCode, String emailAdress) {
		EmailSender.sendRegisterVerifyCode(verifyCode, emailAdress);
	}
}
